package com.ruoyi.wechat.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class MessageVO {
    private String avatarUrl;
    private String UserName;
    private String Content;
    private String senderAction;
    private Date createdAt;
    private Long userId;
    private Long id;
    private Date readAt;
    private Long objectId ;

    public Long getObjectId() {
        return objectId;
    }

    public void setObjectId(Long objectId) {
        this.objectId = objectId;
    }

    public Date getReadAt() {
        return readAt;
    }

    public void setReadAt(Date readAt) {
        this.readAt = readAt;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }

    public String getSenderAction() {
        return senderAction;
    }

    public void setSenderAction(String senderAction) {
        this.senderAction = senderAction;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "MessageVO{" +
                "avatarUrl='" + avatarUrl + '\'' +
                ", UserName='" + UserName + '\'' +
                ", Content='" + Content + '\'' +
                ", senderAction='" + senderAction + '\'' +
                ", createdAt=" + createdAt +
                ", userId=" + userId +
                ", id=" + id +
                ", readAt=" + readAt +
                ", objectId=" + objectId +
                '}';
    }
}
